package com.leezt.designpattern.principles.OCP.handlers;

import com.leezt.designpattern.principles.OCP.services.AlertRuleManager;
import com.leezt.designpattern.principles.OCP.models.ApiStatInfo;
import com.leezt.designpattern.principles.OCP.services.INotify;

public abstract class AlertHandler {
    protected AlertRuleManager ruleMgr;
    protected INotify notification;
    public AlertHandler(AlertRuleManager ruleMgr, INotify notification) {
        this.ruleMgr = ruleMgr;
        this.notification = notification;
    }
    public abstract void check(ApiStatInfo apiStatInfo);
}
